#region File Header
//----------------------------------------------------------------
// Copyright (C) 2002 Stefan Kyntchev
// All rights reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT 
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR 
// FITNESS FOR A PARTICULAR PURPOSE.
//----------------------------------------------------------------
#endregion File Header

using System;

namespace AirWeb.Security.FileSecurity
{
	/// <summary>
	/// Represents a class that contains extra data about the user
	/// </summary>

	[Serializable]
	public class ExtraUserData
	{
		bool m_CanUpload;

		/// <summary>
		/// True if the User can upload pictures to the site
		/// </summary>
		public bool CanUpload
		{
			get
			{
				return m_CanUpload;
			}
		}

		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="i_canUpload"></param>
		public ExtraUserData(bool i_canUpload)
		{
			m_CanUpload = i_canUpload;
		}
	}
}
